Proactively check for NULL strings passed into xc_linux_build. Either DTRT
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 10 Jan 2006 14:37:25 +0000 (14:37 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 10 Jan 2006 14:37:25 +0000 (14:37 +0000)
commit52e91db180af60a2f1b34eecc9434e11a255e36f
tree50f6c22cc4547d4e1354a04bad919c7e11a58983
parentd8efb64a3a8bb67093d813762a818ad52983711f
Proactively check for NULL strings passed into xc_linux_build.  Either DTRT
or return error if detected.  A NULL cmdline, for example, would currently
generate a segfault.

Signed-off-by: Ben Thomas <bjthomas3@gmail.com>
tools/libxc/xc_linux_build.c